﻿using blackhouse.NemoBlog.Business.View;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;

namespace blackhouse.NemoBlog.Web {
    public class StandardBlogViewFactory : WebBlogViewFactory {

        #region Methods

        public override IPostListView LoadPostListView() {
            return this.LoadUserControl("~/StandardNemoBlogModule.ascx") as IPostListView;
        }

        public override IPostListView LoadLastPostListView() {
            return this.LoadUserControl("~/StandardNemoBlogLastPostsModule.ascx") as IPostListView;
        }

        public override IPostView LoadPostView() {
            return this.LoadUserControl("~/StandardNemoBlogPost.ascx") as IPostView;
        }

        #endregion

    }
}